import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import store from './store/index.js'
import request from './utils/request.js'
Vue.config.productionTip = false
Vue.prototype.$post = request.request
Vue.prototype.$gopage = request.gopage
Vue.prototype.$store = store
App.mpType = 'app'
let menuButtonInfo = wx.getSystemInfoSync();

Vue.prototype.$bartop = menuButtonInfo.statusBarHeight;
Vue.prototype.$bar = menuButtonInfo;
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
